package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Shouji {
    String brand;
    int price;
    String color="深蓝色";//默认值
    Battery b=new Battery();//!!!!电池

    public void showInformation(){
        System.out.println("这部手机是"+brand+"，颜色是"+color+",价格是"+price+"元人民币");
        System.out.println("电池信息如下：");
        //System.out.println(b.brand+","+b.vol);
        b.show();
    }
}
